﻿using System;
using ZilLion.TaskManager.Entity.Entity;

namespace ZilLion.TaskManager.Core.Command
{
    /// <summary>
    ///     基础任务命令
    /// </summary>
   [Serializable]
    public abstract class BaseCommand
    {
        /// <summary>
        ///     任务信息model
        /// </summary>
        public TaskConmmandEntity CommandInfo { get; set; }

        /// <summary>
        ///     命令执行方法约定
        /// </summary>
        public virtual void Execute()
        {
        }
    }
}